/*
 *******************       UPnP设备       ******************
 
 功能描述
 - 描述设备信息
 - 记录设备服务
 
 */

#import <Foundation/Foundation.h>

@class WXServiceModel;

@interface WXUPnPDevice : NSObject

/// 唯一设备名称
@property (nonatomic, copy)   NSString    *uuid;

/// 包含根设备 UPnP 描述的 URL 地址
@property (nonatomic, strong) NSURL     *loaction;

/// 对于用户的简短描述
@property (nonatomic, copy) NSString *friendlyName;

/// 型号名称
@property (nonatomic, copy) NSString *modelName;

@property (nonatomic, strong) WXServiceModel *AVTransport;
@property (nonatomic, strong) WXServiceModel *RenderingControl;

@end

@interface WXServiceModel : NSObject

/// UPnP 服务类型
@property (nonatomic, copy) NSString *serviceType;

/// 服务标识符
@property (nonatomic, copy) NSString *serviceId;

/// 控制的 URL
@property (nonatomic, copy) NSString *controlURL;

/// 事件的 URL
@property (nonatomic, copy) NSString *eventSubURL;

/// 服务描述的 URL
@property (nonatomic, copy) NSString *SCPDURL;

@end
